import request from '@/utils/request';

export async function portalStats() {
  return request('/api/portal/stats', {
    method: 'GET',
  });
}

export async function sendMessageToClient(param) {
  return request(`/api/sendMessageToClient?userId=${param.userId}&message=${param.message}`, {
    param,
  });
}

export async function getNotice() {
  return request('/api/portal/pending', {
    method: 'GET',
  });
}
